<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title> 500错误</title>
    <meta name="keywords" content="后台">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico"> <link href="{$Think.const.RESOURCE}css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="{$Think.const.RESOURCE}css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="{$Think.const.RESOURCE}css/animate.css" rel="stylesheet">
    <link href="{$Think.const.RESOURCE}css/style.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">


<div class="middle-box text-center animated fadeInDown">
    <h1 class="text-warning">无权</h1>
    <h3 class="font-bold">你没有被授权此操作</h3>

    <div class="error-desc">
        请安全上网...
        <br/>如果你工作需要，请与管理员联系
        <!-- <br/><a href="{:U('index/index')}" class="btn btn-primary m-t"  target="_top">返回主页</a> -->

        <div class="error-desc">
            <div class="" style="font-size:1em;font-weight: 300;">3秒后关闭......</div>
            <a type="button"  onclick="window.close();" style="margin-left: 30px;color: #949494;">- 按【ESC】键  立刻关闭页面 - </a>
        </div>
    </div>
</div>

<!-- 全局js -->
<script src="{$Think.const.RESOURCE}js/jquery.min.js?v=2.1.4"></script>
<script src="{$Think.const.RESOURCE}js/bootstrap.min.js?v=3.3.6"></script>


</body>

</html>
<script>
    $(document).keyup(function(event){
        if (event.keyCode === 27){
            //alert('event.keyCode'); //键码
            window.close();
        }
    });
   function reloadyemian() {
       window.close();
   }
    var closetime = <?php echo $closetime?$closetime:3000; ?>;
    window.setTimeout("reloadyemian();",closetime);
</script>